package com.yuge.xiaohua.api

import com.yuge.xiaohua.model.JokeInfoEntry
import com.yuge.xiaohua.model.ResultInfoEntry
import retrofit.Call
import retrofit.http.GET
import retrofit.http.Query

/**
 * Created by Mrper on 15-12-13.
 */
interface HttpApi {

    @GET("biz/bizserver/xiaohua/list.do")
    fun getJokes(@Query("size") size: Int, @Query("page") page: Int): Call<ResultInfoEntry<Array<JokeInfoEntry>>>

}
